/**
 * 
 */
package client;

import java.rmi.*;

/**
 * @author zack
 *
 */
public interface IClient extends Remote{
	/**
	 * Returns the requested resource if it exists - and it should since
	 * the IP address of this client will be on a list of hosts which contain
	 * this requested resource. Also the resource should be in a folder named
	 * 'resources', a convention for this system.
	 * Returns a byte array containing the resource as its serializable.
	 * 
	 * @return A byte array containing the resource
	 */
	public byte[] fetchResource(String resourceName) throws RemoteException;
}
